package com.erhuogo.entity;

/**
 * 公告实体类
 * 
 * @author aibinxiao
 * @date 2016年10月24日 下午6:30:11
 */
public class Announcement {
	private Integer id;// 公告ID
	private String title;// 公告标题
	private String content;// 公告内容
	private String createTime;// 公告发布时间
	private String alterTime;// 公告最后修改时间
	private Integer adminId;// 发布者ID(管理员)

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getAlterTime() {
		return alterTime;
	}

	public void setAlterTime(String alterTime) {
		this.alterTime = alterTime;
	}

	public Integer getAdminId() {
		return adminId;
	}

	public void setAdminId(Integer adminId) {
		this.adminId = adminId;
	}

	@Override
	public String toString() {
		return "Announcement [id=" + id + ", title=" + title + ", content=" + content + ", createTime=" + createTime
				+ ", alterTime=" + alterTime + ", adminId=" + adminId + "]";
	}

}
